home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #5
/
Amiga Plus CD - 2000 - No. 5.iso
/
Tools
/
Misc
/
FLM
/
otherfiles
/
english
/
ARexx
/
finalw_look.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
2000-01-01
|
2KB
|
45 lines
/* [TRANSLATOR'S NOTE. As I didn't own FinalWriter neither I could try it
nor translate its gadgets/menu items. In such cases, I've put the
supposed English translation between [* and *]].
Script for sending a word from FinalWriter to FLM
Here I'm describing the customisation to FLM through 2nd
"Benutzerbefehlsleiste" [[* User command panel *]. Of course, it's
possible to call FLM through your menu. For this, look at your
FinalWriter manual.
1. Select "<Voreinstellungen/Benutzerbefehlsleiste>" [* <Presets/User
Command Panel> *] in your menu <Project>.
2. Now in new open window you must select the "Befehlsleiste 2"
[* Command Panel 2 *].
3. Now drag from the row Switches [* ?? *] a suitable icon in the middle
list box; e.g. the icon "L".
4. Also you must set "Type". (above on the right)
5. Now select "Auswählen" [* Select *], and choose this file
("finalw_look.rexx").
6. Now select "sichern" [* Save *].
Now you should have a new icon in your Command Panel. Above on the right
click on the arrow. Now, to test this customisation, you must highlight
a word (double-click), and then click its icon. Now FLM should open its
"FLM Arexx Dictionary" window.
-> Warning: The program RexxMast must be active !!!
*/
/* Here indicate, please, the FLM path and program name */
initiation=run "dh0:FLM/FLM"
Options RESULTS
IF ~show('P','FLM') THEN DO
/* if FLM is not yet running */
ADDRESS COMMAND initiation
ADDRESS COMMAND "SYS:RexxC/WaitForPort FLM"
END
Extract /* Write the highlighted text in Variable RESULT*/
Address FLM LOOKWORD RESULT /* Send contents of RESULT to FLM*/